package com.woniu.project.web.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * 用于储存Swagger2的相关属性
 * @Author: Klaus
 * @Date: 2020/9/28 20:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "swaager")
public class DocDto {

    //标题
    private String title;

    //版本
    private String version = "1.0-SNAPSHOT";

    //描述
    private String desc;

    //包路径
    private String basePath;

    //作者
    private AuthorDto author;
}
